<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: BaseTim_InitTypeDef Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">BaseTim_InitTypeDef Struct Reference<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___b_a_s_e_t_i_m.html">BASETIM</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>BaseTim Init structure definition.  
 <a href="struct_base_tim___init_type_def.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="wb32l003__basetim_8h_source.html">wb32l003_basetim.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:abba1b771a2d2498eef60518a298fe6e0"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#abba1b771a2d2498eef60518a298fe6e0">BaseTim_Gate</a></td></tr>
<tr class="separator:abba1b771a2d2498eef60518a298fe6e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c75d3fcbf4f299e13895aeaba6465e6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#a9c75d3fcbf4f299e13895aeaba6465e6">BaseTim_GatePolarity</a></td></tr>
<tr class="separator:a9c75d3fcbf4f299e13895aeaba6465e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad179c193339651cde64630d0e4f0daaf"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#ad179c193339651cde64630d0e4f0daaf">BaseTim_Tog</a></td></tr>
<tr class="separator:ad179c193339651cde64630d0e4f0daaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07a67289ebcdafebc9250bb3e0c234fa"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#a07a67289ebcdafebc9250bb3e0c234fa">BaseTim_Function</a></td></tr>
<tr class="separator:a07a67289ebcdafebc9250bb3e0c234fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fab3160ec97d7aaed3603dc81997eda"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#a7fab3160ec97d7aaed3603dc81997eda">BaseTim_AutoReload</a></td></tr>
<tr class="separator:a7fab3160ec97d7aaed3603dc81997eda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac90db721aafb0f190a460424db5c5cb7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#ac90db721aafb0f190a460424db5c5cb7">BaseTim_CountLevel</a></td></tr>
<tr class="separator:ac90db721aafb0f190a460424db5c5cb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1a2df11e922ae3f5fec2e39ef97d4c8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#af1a2df11e922ae3f5fec2e39ef97d4c8">BaseTim_CountMode</a></td></tr>
<tr class="separator:af1a2df11e922ae3f5fec2e39ef97d4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d4b604549e61b8d54163cf64d728513"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#a1d4b604549e61b8d54163cf64d728513">BaseTim_Prescaler</a></td></tr>
<tr class="separator:a1d4b604549e61b8d54163cf64d728513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a01764fc49a645d752b33ac532410af"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html#a0a01764fc49a645d752b33ac532410af">BaseTim_BGLoad</a></td></tr>
<tr class="separator:a0a01764fc49a645d752b33ac532410af"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>BaseTim Init structure definition. </p>
<dl class="section note"><dt>Note</dt><dd>This structure is used for TIM10 and TIM11. </dd></dl>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a7fab3160ec97d7aaed3603dc81997eda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fab3160ec97d7aaed3603dc81997eda">&#9670;&nbsp;</a></span>BaseTim_AutoReload</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_AutoReload</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies Timer auto reload enable or disable. This parameter can be a value of <a class="el" href="group___base_tim___auto_reload.html">BaseTim_AutoReload</a> </p>

</div>
</div>
<a id="a0a01764fc49a645d752b33ac532410af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a01764fc49a645d752b33ac532410af">&#9670;&nbsp;</a></span>BaseTim_BGLoad</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_BGLoad</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies the period value to be loaded into the active CNT value immediately through LOAD register or periodly through BGLOAD register refer to mode specified by BaseTim_AutoReload. Period caculation = (MaxCntLevel - Period)/((BaseTim clock)/Prescaler) This parameter can be a number between Min_Data = 0x00000000 and Max_Data = 0xFFFFFFFF. </p>

</div>
</div>
<a id="ac90db721aafb0f190a460424db5c5cb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac90db721aafb0f190a460424db5c5cb7">&#9670;&nbsp;</a></span>BaseTim_CountLevel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_CountLevel</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies Timer maxim counter value is 0xFFFF or 0xFFFFFFFF. This parameter can be a value of <a class="el" href="group___base_tim___count_level.html">BaseTim_CountLevel</a> </p>

</div>
</div>
<a id="af1a2df11e922ae3f5fec2e39ef97d4c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1a2df11e922ae3f5fec2e39ef97d4c8">&#9670;&nbsp;</a></span>BaseTim_CountMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_CountMode</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies Timer oneshot or repeat mode. This parameter can be a value of <a class="el" href="group___base_tim___count_mode.html">BaseTim_CountMode</a> </p>

</div>
</div>
<a id="a07a67289ebcdafebc9250bb3e0c234fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07a67289ebcdafebc9250bb3e0c234fa">&#9670;&nbsp;</a></span>BaseTim_Function</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_Function</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies Counter/Timer function selection. This parameter can be a value of <a class="el" href="group___base_tim___function___count___timer.html">BaseTim_Function_Count_Timer</a> </p>

</div>
</div>
<a id="abba1b771a2d2498eef60518a298fe6e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abba1b771a2d2498eef60518a298fe6e0">&#9670;&nbsp;</a></span>BaseTim_Gate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_Gate</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies gate function enable or disable. This parameter can be a value of <a class="el" href="group___base_tim___gate___enable___disable.html">BaseTim_Gate_Enable_Disable</a> </p>

</div>
</div>
<a id="a9c75d3fcbf4f299e13895aeaba6465e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c75d3fcbf4f299e13895aeaba6465e6">&#9670;&nbsp;</a></span>BaseTim_GatePolarity</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_GatePolarity</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies gate polarity high or low. This parameter can be a value of <a class="el" href="group___base_tim___gate_polarity.html">BaseTim_GatePolarity</a> </p>

</div>
</div>
<a id="a1d4b604549e61b8d54163cf64d728513"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d4b604549e61b8d54163cf64d728513">&#9670;&nbsp;</a></span>BaseTim_Prescaler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_Prescaler</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies the prescaler value used to divide the BaseTim clock. This parameter can be a value of <a class="el" href="group___base_tim___prescaler.html">BaseTim_Prescaler</a> </p>

</div>
</div>
<a id="ad179c193339651cde64630d0e4f0daaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad179c193339651cde64630d0e4f0daaf">&#9670;&nbsp;</a></span>BaseTim_Tog</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t BaseTim_Tog</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies tog function enable or disable. This parameter can be a value of <a class="el" href="group___base_tim___tog___enable___disable.html">BaseTim_Tog_Enable_Disable</a> </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="wb32l003__basetim_8h_source.html">wb32l003_basetim.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
